<?php

namespace Mogod\Core\Controller;

/**
 *
 * Задание контроллера
 *
 * @author goorus, morph
 *
 */
class ControllerTask extends Mogod\Core\Task\TaskAbstract
{

	/**
	 *
	 * @var string
	 */
	protected $controller;

	/**
	 *
	 * @var \Mogod\Core\Data\DataTransport
	 */
	protected $input;

	/**
	 *
	 * @var string
	 */
	protected $layout;

	/**
	 *
	 * @var \Mogod\Core\Data\DataTransport
	 */
	protected $output;

	/**
	 *
	 * @var string
	 */
	protected $render;

	/**
	 * @return string
	 */
	public function getController()
	{
		return $this->controller;
	}

	/**
	 *
	 * @return string
	 */
	public function getLayout()
	{
		return $this->layout;
	}

	/**
	 *
	 * @return object
	 */
	public function getOutput()
	{
		return $this->output;
	}

	/**
	 *
	 * @return string
	 */
	public function getRender()
	{
		return $this->render;
	}

	/**
	 *
	 * @param string $controller
	 * @return $this
	 */
	public function setController($controller)
	{
		$this->controller = $controller;
		return $this;
	}

	/**
	 *
	 * @param string $layout
	 * @return $this
	 */
	public function setLayout($layout)
	{
		$this->layout = $layout;
		return $this;
	}

	/**
	 *
	 * @param string $render
	 * @return $this
	 */
	public function setRender($render)
	{
		$this->render = $render;
		return $this;
	}

}
